<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
	<table>
		<c:choose>
			<c:when test="${not empty user}">
				<tr>
					<td>姓名：</td>
					<td>${user.name}</td>
				</tr>
				<tr>
					<td>用户名：</td>
					<td>${user.accountName}</td>
				</tr>
				<tr>
					<td>邮箱：</td>
					<td>${user.mail}</td>
				</tr>
				<tr>
					<td>手机：</td>
					<td>${user.mobile}</td>
				</tr>
				<tr>
					<td>电话：</td>
					<td>${user.phone}</td>
				</tr>
				<tr>
					<td>性别：</td>
					<td>${user.sex}</td>
				</tr>
				<tr>
					<td>状态：</td>
					<td>${user.status}</td>
				</tr>
				<tr>
					<td>创建日期：</td>
					<td>${user.createDate}</td>
				</tr>
				<tr>
					<td>备注：</td>
					<td>${user.remark}</td>
				</tr>
				<tr>
					<td colspan="2"><a href="javascript:history.back();">返回</a></td>
				</tr>
			</c:when>
			<c:when test="${empty user}">
				<tr>
					<td>user not exists</td>
				</tr>
				<tr>
					<td><a href="javascript:history.back();">返回</a></td>
				</tr>
			</c:when>
		</c:choose>
	</table>
</body>
</html>